/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Pretraga.java
 *
 * Created on Nov 25, 2011, 8:42:54 AM
 */
package tok.predmeta;

import java.awt.Component;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.swing.JOptionPane;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;

/**
 *
 * @author root
 */
public class Pretraga extends javax.swing.JFrame {

    private Component frame;
    private String trazena_sifra;
    private Component frame1;

    /** Creates new form Pretraga */
    public Pretraga() {

        initComponents();
        jLabel2.setVisible(false);
        jLabel6.setVisible(false);
        jLabel7.setVisible(false);
        jLabel8.setVisible(false);
        jLabel9.setVisible(false);
        jLabel10.setVisible(false);
        jLabel11.setVisible(false);
        jLabel12.setVisible(false);

        jLabel15.setVisible(false);
        jLabel16.setVisible(false);
        jLAbelA.setVisible(false);
        jLabelP.setVisible(false);
        jLabelI.setVisible(false);
        jLabelJMBG.setVisible(false);
        jLabelT.setVisible(false);
        jLabelK.setVisible(false);
        jLabel13.setVisible(false);
        jLabel14.setVisible(false);

        jTextField2.setVisible(false);
        jTextField3.setVisible(false);
        jButton2.setVisible(false);
        jButton3.setVisible(false);

        jLabel4.setVisible(false);
        jTextField1.getDocument().addDocumentListener(new DocumentListener() {

            @Override
            public void changedUpdate(DocumentEvent e) {
                warn();
            }

            @Override
            public void removeUpdate(DocumentEvent e) {
                warn();
            }

            @Override
            public void insertUpdate(DocumentEvent e) {
                warn();
            }

            public void warn() {
                // Load the JDBC driver
                String driverName = "com.mysql.jdbc.Driver"; // MySQL  JDBC driver
                try {
                    Class.forName(driverName);
                } catch (ClassNotFoundException ex) {
                    Logger.getLogger(Pretraga.class.getName()).log(Level.SEVERE, null, ex);
                }

                // Create a connection to the database
                String serverName = "192.168.88.10";
                String mydatabase = "tok_predmeta";
                String url = "jdbc:mysql://" + serverName + "/" + mydatabase + "?useUnicode=true&characterEncoding=utf8"; // a JDBC url
                String username = "tokpred";
                String password = "Lx3sAQdnYJFTxBhs";
                try {
                    Connection connection = DriverManager.getConnection(url, username, password);
                    Statement s = connection.createStatement();
                    s.executeQuery("SELECT *  FROM predmeti where sifra = " + jTextField1.getText() + "");
                    Statement g = connection.createStatement();
                    g.executeQuery("SELECT *  FROM state where sifra = " + jTextField1.getText() + "");
                    ResultSet rs = s.getResultSet();
                    ResultSet rs2 = g.getResultSet();

                    int count = 0;

                    while (rs.next()) {
                        int idVal = rs.getInt("id");
                        String sifra = rs.getString("sifra");
                        if (sifra.equals(jTextField1.getText())) {
                            String korisnicka_sifra = rs.getString("korisnicka_sifra");
                            String ime = rs.getString("ime");
                            String prezime = rs.getString("prezime");
                            String adresa = rs.getString("adresa");
                            String jmbg = rs.getString("jmbg");
                            String tip = rs.getString("tip");
                            String datum = rs.getString("datum");

                            while (rs2.next()) {
                                String stanje_predmeta = rs2.getString("stanje_predmeta");
                                String sifra2 = rs2.getString("sifra");
                                if (sifra2.equals(jTextField1.getText())) {


                                    jLabel2.setVisible(true);
                                    jLabel15.setVisible(true);
                                    if (stanje_predmeta.equals("01")) {
                                        jLabel15.setText("У пријемној канцеларији");
                                    } else if (stanje_predmeta.equals("02")) {
                                        jLabel15.setText("У судској управи");
                                    } else if (stanje_predmeta.equals("03")) {
                                        jLabel15.setText("На изјашњењу код судије");
                                    } else if (stanje_predmeta.equals("04")) {
                                        jLabel15.setText("На изјашњењу");
                                    } else if (stanje_predmeta.equals("05")) {
                                        jLabel15.setText("На потпису за експедицију");
                                    } else if (stanje_predmeta.equals("06")) {
                                        jLabel15.setText("У одељењу за експедицију");
                                    } else if (stanje_predmeta.equals("07")) {
                                        jLabel15.setText("Експедован");
                                    } else if (stanje_predmeta.equals("08")) {
                                        jLabel15.setText("Експедован - уручен");
                                    } else if (stanje_predmeta.equals("09")) {
                                        jLabel15.setText("Експедован - неуручен");
                                    } else if (stanje_predmeta.equals("10")) {
                                        jLabel15.setText("Враћена експедиција");
                                    } else {
                                        jLabel15.setText("Непозната локација");
                                    }

                                }



                            }

                            ++count;



                            jLabel6.setVisible(true);
                            jLabel6.setText(ime);

                            jLabel7.setVisible(true);
                            jLabel7.setText(prezime);

                            jLabel8.setVisible(true);
                            jLabel8.setText(adresa);

                            jLabel9.setVisible(true);
                            jLabel9.setText(jmbg);

                            jLabel10.setVisible(true);

                            jLabel10.setText(tip);

                            jLabel11.setVisible(true);
                            jLabel11.setText(datum);

                            jLabel12.setVisible(true);
                             jLabel14.setVisible(true);
                            jLabel16.setVisible(true);

                            jLAbelA.setVisible(true);
                            jLabelI.setVisible(true);
                            jLabelP.setVisible(true);
                            jLabelJMBG.setVisible(true);
                            jLabelT.setVisible(true);
                            jLabelK.setVisible(true);
                            jLabel13.setVisible(true);
                            jLabel13.setText(korisnicka_sifra);

                            jTextField2.setVisible(true);
                           // jTextField2.requestFocus();

                             jTextField2.getDocument().addDocumentListener(new DocumentListener() {

                                @Override
                                public void changedUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                @Override
                                public void removeUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                @Override
                                public void insertUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                public void warn1() {
                                    if(jTextField2.getText().length() == 2){
                                        jTextField3.requestFocus();
                                    }
                                         }
                            });

                            jButton2.setVisible(true);
                            jButton3.setVisible(true);
                            jTextField3.setVisible(true);
                            

                            jTextField3.getDocument().addDocumentListener(new DocumentListener() {

                                @Override
                                public void changedUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                @Override
                                public void removeUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                @Override
                                public void insertUpdate(DocumentEvent e) {
                                    warn1();
                                }

                                public void warn1() {
                                    if (jTextField3.getText().equals("01")) {
                                        if (jTextField2.getText().equals("")) {
                                            
                                            JOptionPane.showMessageDialog(frame,
                                                    "Молимо унесите ново стање предмета ! ",
                                                    "Први основни суд у Београду",
                                                    JOptionPane.WARNING_MESSAGE);

                                        } else {
                                            String location;
                                            if (jTextField2.getText().equals("01")) {
                                         location ="У пријемној канцеларији";
                                    } else if (jTextField2.getText().equals("02")) {
                                        location ="У судској управи";
                                    } else if (jTextField2.getText().equals("03")) {
                                         location ="На изјашњењу код судије";
                                    } else if (jTextField2.getText().equals("04")) {
                                         location ="На изјашњењу";
                                    } else if (jTextField2.getText().equals("05")) {
                                         location ="На потпису за експедицију";
                                    } else if (jTextField2.getText().equals("06")) {
                                         location ="У одељењу за експедицију";
                                    } else if (jTextField2.getText().equals("07")) {
                                          location ="Експедован";
                                    } else if (jTextField2.getText().equals("08")) {
                                         location ="Експедован - уручен";
                                    } else if (jTextField2.getText().equals("09")) {
                                       location ="Експедован - неуручен";
                                    } else if (jTextField2.getText().equals("10")) {
                                         location ="Враћена експедиција";
                                    } else {
                                        location ="Непозната локација";
                                    }

                                            int showConfirmDialog = JOptionPane.showConfirmDialog(frame, "Да ли сте сигурни да желите да  локација предмета буде : "+ location + " ? ", "Први основни суд у Београду", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
                                            if(showConfirmDialog ==JOptionPane.OK_OPTION){
                                            String DATE_FORMAT = "dd/MM/yyyy";
                                            SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
                                            Calendar c1 = Calendar.getInstance(); // today
                                            String Datum = sdf.format(c1.getTime()).toString();



                                            
                                            String novoStanje = jTextField2.getText();
                                            String serverName = "192.168.88.10";
                                            String mydatabase = "tok_predmeta";
                                            String url = "jdbc:mysql://" + serverName + "/" + mydatabase + "?useUnicode=true&characterEncoding=utf8"; //?useUnicode=true&amp;characterEncoding=Cp1251"; // a JDBC url
                                            String username = "tokpred";
                                            String password = "Lx3sAQdnYJFTxBhs";
                                            try {
                                                java.sql.Connection connection = DriverManager.getConnection(url, username, password);
                                                java.sql.PreparedStatement i = connection.prepareStatement("INSERT INTO state (sifra,korisnicka_sifra, stanje_predmeta,date,korisnik) VALUES (?,?,?,?,?)");
                                                String stanje = jTextField2.getText();

                                                i.setString(1, jTextField1.getText());
                                                i.setString(2, jLabel13.getText());
                                                i.setString(3, stanje);
                                                i.setString(4, Datum);
                                                i.setString(5, Login.user);
                                                i.executeUpdate();
                                                dispose();

                                                Pretraga P = new Pretraga();
                                                P.setVisible(true);

                                                i.close();
                                            } catch (SQLException ex) {
                                                Logger.getLogger(Pretraga.class.getName()).log(Level.SEVERE, null, ex);
                                            }
                                            }else {
                                                Frame1 frame = new Frame1();
                                                dispose();
                                                frame.setVisible(true);

                                            }

                                        }



                                    } else if (jTextField3.getText().equals("02")) {
                                        Frame1 frame = new Frame1();
                                        dispose();
                                        frame.setVisible(true);

                                    } else if (jTextField3.getText().equals("03")) {
                                        Pretraga P = new Pretraga();
                                        dispose();
                                        P.setVisible(true);
                                    } else {
                                    }
                                }
                            });

                        } else {
                            JOptionPane.showMessageDialog(frame,
                                    "Предмет није пронађен !",
                                    "Први основни суд у Београду",
                                    JOptionPane.WARNING_MESSAGE);
                        }

                    }



                    rs.close();
                    s.close();


                } catch (SQLException ex) {
                    //Logger.getLogger(Pretraga.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });



    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jButton1 = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        labelIme = new javax.swing.JLabel();
        labelPrezime = new javax.swing.JLabel();
        labelAdresa = new javax.swing.JLabel();
        labelTip = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jButton2 = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabelI = new javax.swing.JLabel();
        jLabelP = new javax.swing.JLabel();
        jLAbelA = new javax.swing.JLabel();
        jLabelJMBG = new javax.swing.JLabel();
        jLabelT = new javax.swing.JLabel();
        jLabelK = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jButton3 = new javax.swing.JButton();
        jTextField3 = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Први основни суд у Београду - Ток обраде захтева");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jButton1.setText("Одустани");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 530, -1, -1));

        jLabel1.setText("Шифра предмета");
        getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 70, -1, -1));

        jTextField1.setMinimumSize(new java.awt.Dimension(100, 28));
        getContentPane().add(jTextField1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 100, 293, -1));
        getContentPane().add(labelIme, new org.netbeans.lib.awtextra.AbsoluteConstraints(399, 154, -1, -1));
        getContentPane().add(labelPrezime, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 154, -1, -1));
        getContentPane().add(labelAdresa, new org.netbeans.lib.awtextra.AbsoluteConstraints(284, 172, -1, -1));
        getContentPane().add(labelTip, new org.netbeans.lib.awtextra.AbsoluteConstraints(284, 184, -1, -1));
        getContentPane().add(jTextField2, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 470, 221, -1));

        jButton2.setText("Сними промене");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        jButton2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jButton2KeyPressed(evt);
            }
        });
        getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 530, -1, -1));

        jLabel2.setText("Тренутна локација предмета :");
        getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 390, -1, -1));
        getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(504, 442, -1, -1));
        getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(284, 504, -1, -1));
        getContentPane().add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 220, -1, -1));

        jLabel6.setText("jLabel6");
        getContentPane().add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 150, -1, -1));

        jLabel7.setText("jLabel7");
        getContentPane().add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 150, -1, -1));

        jLabel8.setText("jLabel8");
        getContentPane().add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 180, -1, -1));

        jLabel9.setText("jLabel9");
        getContentPane().add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 210, -1, -1));

        jLabel10.setText("jLabel10");
        getContentPane().add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 240, -1, -1));

        jLabel11.setText("jLabel11");
        getContentPane().add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 280, -1, -1));

        jLabel12.setText("Датум уноса предмета :");
        getContentPane().add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 280, -1, -1));

        jLabel15.setText("jLabel15");
        getContentPane().add(jLabel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 390, -1, -1));

        jLabel16.setText("Нова локација предмета :");
        getContentPane().add(jLabel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 440, -1, -1));

        jLabelI.setText("Име :");
        getContentPane().add(jLabelI, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 150, -1, -1));

        jLabelP.setText("Презиме :");
        getContentPane().add(jLabelP, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 150, -1, -1));

        jLAbelA.setText("Адреса :");
        getContentPane().add(jLAbelA, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 180, -1, -1));

        jLabelJMBG.setText("ЈМБГ :");
        getContentPane().add(jLabelJMBG, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 210, -1, -1));

        jLabelT.setText("Тип предмета :");
        getContentPane().add(jLabelT, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 240, -1, -1));

        jLabelK.setText("Корисничка шифра :");
        getContentPane().add(jLabelK, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 330, -1, -1));

        jLabel13.setText("jLabel13");
        getContentPane().add(jLabel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 330, -1, -1));

        jButton3.setText("Нова претрага");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 530, -1, -1));
        getContentPane().add(jTextField3, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 470, 100, 30));

        jLabel14.setText("Сними / Одустани");
        getContentPane().add(jLabel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 440, -1, -1));

        jLabel17.setFont(new java.awt.Font("Tahoma", 0, 18));
        jLabel17.setText("ПРЕТРАГА И ИЗМЕНА ЛОКАЦИЈЕ ПРЕДМЕТА");
        getContentPane().add(jLabel17, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 30, -1, -1));

        pack();
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        java.awt.Dimension dialogSize = getSize();
        setLocation((screenSize.width-dialogSize.width)/2,(screenSize.height-dialogSize.height)/2);
    }// </editor-fold>//GEN-END:initComponents

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        Frame1 frame = new Frame1();
        this.dispose();
        frame.setVisible(true);

    }//GEN-LAST:event_jButton1ActionPerformed

    private void jButton2KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jButton2KeyPressed
    }//GEN-LAST:event_jButton2KeyPressed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        if (jTextField2.getText().equals("")) {
            jLabel4.setVisible(true);
            jLabel4.setText("Молимо унесите ново стање предмета !");

        } else {

            String DATE_FORMAT = "dd/MM/yyyy";
            SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
            Calendar c1 = Calendar.getInstance(); // today
            String Datum = sdf.format(c1.getTime()).toString();



            System.out.println("Now the date is :=>  " + Datum);
            String novoStanje = jTextField2.getText();
            String serverName = "192.168.88.10";
            String mydatabase = "tok_predmeta";
            String url = "jdbc:mysql://" + serverName + "/" + mydatabase + "?useUnicode=true&characterEncoding=utf8"; //?useUnicode=true&amp;characterEncoding=Cp1251"; // a JDBC url
            String username = "tokpred";
            String password = "Lx3sAQdnYJFTxBhs";
            try {
                java.sql.Connection connection = DriverManager.getConnection(url, username, password);
                java.sql.PreparedStatement i = connection.prepareStatement("INSERT INTO state (sifra,korisnicka_sifra, stanje_predmeta,date,korisnik) VALUES (?,?,?,?,?)");
                String stanje = jTextField2.getText();

                i.setString(1, jTextField1.getText());
                i.setString(2, jLabel13.getText());
                i.setString(3, stanje);
                i.setString(4, Datum);
                i.setString(5, Login.user);
                i.executeUpdate();
                this.dispose();

                Pretraga P = new Pretraga();
                P.setVisible(true);

                i.close();
            } catch (SQLException ex) {
                Logger.getLogger(Pretraga.class.getName()).log(Level.SEVERE, null, ex);
            }


        }
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed


        Pretraga P = new Pretraga();
        this.dispose();
        P.setVisible(true);
    }//GEN-LAST:event_jButton3ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Pretraga.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Pretraga.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Pretraga.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Pretraga.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {

                new Pretraga().setVisible(true);
                Pretraga P = new Pretraga();


            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLAbelA;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabelI;
    private javax.swing.JLabel jLabelJMBG;
    private javax.swing.JLabel jLabelK;
    private javax.swing.JLabel jLabelP;
    private javax.swing.JLabel jLabelT;
    public static javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JLabel labelAdresa;
    private javax.swing.JLabel labelIme;
    private javax.swing.JLabel labelPrezime;
    private javax.swing.JLabel labelTip;
    // End of variables declaration//GEN-END:variables
}
